fixed sign in bug that required two logins