NPM module for decentralised user management