Implement the method to search for users.