added index and new pages to view