added resources in routes.rb file