Added chat funcionality