updated models, corrected AR associations, and able to select categories when creating a new post