inherit from RESTResource