add validate in page model