Added route and security for patient record