changes login field to emailfield