Adding RESTEndpoint