Create a pages controller