add publish message controller