Modified trip controller to retrieve blog titles and posts and pass it a...

...s json