added categories to blogs and added the model relationships