register method in userService