implement message of chat rooms.
use debug module for logging