Change authentication key from login to email in the devise initializer

The user was not being redirected to the home page upon sign-in. The bug is now fixed and the user can now properly navigate sign-in, sign-up, sign-out, and edit account.