Added HttpClient code