validated all the pages