Controller for deleting pages added
Validation for addPage and deletePageController added