changed authentication key from email to username