A nodejs user authenticator