add pages controller