updated the client for better log responses