use npm-user-validate

link in the npm-client, to remove the duplicated code across the repositories.