added search and return data blog to mongo class