Added chat and added event to display it and hide it