updated routes.rb and create a relation between products and categories