Persistent login works, and database access has been simplified. The only time we connect with the database is when we start the app. This is how mongodb should work.