add chat with sockets