Authentication change

Authentication changed to use username instead of email