Implement login for user handler