Missing OwnerId on records

I’ve discovered a number of records entered by Users into the database that are missing the OwnerId. What might cause this? I use that information in the system and want to close the loophole.

A value in the ownerId column will appear only when the record is created in your app when there is an authenticated (i.e. logged in) user in the app. The user must be logged in with the Backendless Login API.

Users are unable to enter the system without logging in. The landing page is the login screen. How could the system “lose” the login information? If they time out while on a page could the system lose track of who they are, but still have them in the application?

Please show the logic that saves data in that data table.