added "resources :questions" to the config/routes.rb file