UserManager class completely ported to MongoDB