apply the association in every controller