Refactor: migrated auth.coffee to class based controllers