added micropost resource
added foreign key associations