In my earlier exploration of PouchDB in Angular 2, I created a local PouchDB database instance as part of my application bootstrapping process. This would mean that everyone using the Angular 2 app - in the same browser - would be sharing the same local database. For some use-cases, this is fine; but, I am ultimately trying to build an offline-first, PouchDB application that employs a "database per user" architecture. In that case, I can't create the PouchDB database during bootstrapping, since I don't know who's using the application. Instead, I have to wait until the user authenticates themselves (ie, logs-in). Only then can I create the PouchDB database that is tied to that specific user.