Updated the User and login controller. The User controller and model
should be complete. Login controller know has a user cache that it holds
and will require email to be passed in a few endpoints