Implemented user login service.