switch to using email address not a username