updated UserService.