Implemented Page Validation on all pages