split controler of topic and post actions