made session controller, view, and rspec tests