changes authentication to accept username and email to signin/signup users