added fixed getAppointments and getPatientUsername