small fix with auto login

User is no longer logged in every time the home screen is visited.