improve chat/user interaction a little bit
typo fixed
disable ws reconnect if window will be unloaded