added a microposts resource