refactors a user route to not save input fields
fixes a bug where user object was not saved from authentication
Merge pull request #2 from Lambin/authenticate_users

Authenticate users