Added a sessions controller and modified view files + controllers to accept sessions