made patientscontroller usable