create a sqlite database that keeps a user logged in to preserve user-specific data