publish controller