connected some pages to index