fix sessions_controller.rb double typing