add resource controller for tags.