fixed login for patients