creating a microposts resource