register resources controllers