add publish subscribe and remove autopublish
deny client insertion