added associations between user model and microposts