User subsystem converted to mongodb