added mongo db adapter and tokenmanager for ObjectId