Implemented Device search functionality