Creat the page index