Add categories for posts

honestly, I'm not sure how this is working, as is.