added pub sub for rendering messages in specific chat rooms