chatroom works, but need page refresh every time