throw new ServletException("Error while updating security document on _users database",e);
}
// Start agreement robot
try {
AgreementRobotSettings settings = new AgreementRobotSettings();
settings.setAtlasName(atlasName);
settings.setDocumentDesignDocument(documentDb.getDesignDocument("atlas"));
settings.setUserDb(userDb);
agreementRobot = new AgreementRobot(settings);
agreementRobot.start();