create Pages controller