add validation to add node form