pubsub chatroom demo mostly working