Fixed bug when you logged in with email