adds post model
view posts via api at posts#show