swap emails for logins for authentication