Added search Functionality for online mode