Changed 'username' to 'email'