delete pages controller