Refactor SessionCtrl as controllerAs View Syntax.