save data on the socket
save data on client
recent messages
add disconnect