working on retrieving record from mongodb based on end user's search string