Created pages controller