added code to fetch products of specific category asynchronously