add some logging to hte client calls