Delete search method for pages controller. Add compare for page model.