adds list of all posts on posts#index