saving changes to html
somewhat working chat