validation in all pages