Adding update for user authentication with username instead of email