add action to each controller