add cookie and somewhere
add client javascript
worked chat
saving history