login with mail instead of username