added chat with server