Change search_contacts to inject method