Don't auto segue to Main if login failed. Let loginButton click handle it.