Refactor chat
Change console log messages