implemented simple hateoas service