User name assignment; updated pouchdb-nightly.js