sessions controller and Gemfile update