adds spring hateoas for managing rest api resources