created pages controller with a few pages