Use mongodb for auto nonces