RESTfull controller