adds user and micropost resources and associations