Adding users and connecting after server shut-down for document database works