Moving app/authentication.js to app/controllers
Adding: custom Error objects