fixed login for email