added pagination controls to products