Changed username to email for authentication

Sorcery gem no longer uses 'username' by default and so I changed all the 'username' to 'email'. (see issue #812)