made profiles resource controller