updated the gemfile, pins controller and index pages