modified the files to use the new product/category api for listing the products/categories