validation on all pages