added validation for AdminEditorPage