added pagination to the products index