add category and subcategory + associations to posts