edited routes.rb file to include the tables page