added pages controller example