Fixing rendering by changing back to using Base instead of API. I can't be bothered.
I thought the home controller was messing up stuff, so I regenerated it
Adding jquery.cookie.js to deal with cookies
Model for apiKey
Writing an auth_manager and including it
Removing stupid fields from the user model and adding useful ones
Creating a new AuthManager when the app loads

Doesn’t work, for some reason.
Trying to fix the error, but no such luck.

«Uncaught ReferenceError: AuthManager is not defined»