Refactored UserService interface to use custom RestResult with custom RestError