move user methods to userService