added controller and updated gemfile