Added in resource controller and updated posts router to pull these out.