New Session

Refactored code in both the View and the Controller.