added hateoas to patient controller