add index action to pages controller