add pages controller and other resources