add pages controller, routes