Make a pages controller