Added search functionality to the client.