use Spring hateoas