fixes for logging in with another account when a user is already logged in