Added the operations logic: search for mongo id.