refactored code to fetch client contact data from sales force