Added registration support through MongoDB