validating some pages