an authentication module for moonshine-js