Fix bug when login for UserLoginController