Add publish controller