Refactoring UserController/Auth, app.js