authentication only when remote db is used using https://github.com/nolanlawson/pouchdb-authentication 2 roles: 'admin', 'member'