Code refactoring: refactor AuthsController. Add new protected methods to ApplicationController.
New feature: add AccountsController.