add a pages controller