fixed login for patient