added index for pages controller