integrate cas-validate into node