added associations between users and posts