adds login method to client User - sends /user/login