pagination working and links to store pages