added search functionality to Client class