persist login and database sequence id