adding method to controller
adding routes for product details