Raise error when login failed
Login with construct