Update chat_client

Added comments