Added chat send logic