Mansi, Mahendra | #66 | preparatory refactoring; moving logout() from main controller to session helper