Fixed the bug with the JSON response parsing
Small upgrades to the chat window