Minor refactor - moved register and login actions to Learner. App controller is for application wide functions and filter actions.