added pagination for products