create sessions controller and view.