Added email type to login & registration