validation for new page