Added chat support on the client