[FIX] refactored logging in/ creating new user. Code is a bit cleaner. Also, previously it was creating a new user even if there was an error in the login. That is fixed now.
authenticating routes
[Feautre] Authenticating routes working now
[Fix] changed token to serverToken to disambiguate
Merge pull request #21 from paulyi326/dev

[Feature] Now successfully protecting all routes.