Chat rooms KO

Correction in progress; the front end code is dirty and there is lot of
bugs in this part