Fixed email not working in login