add posts#index action and view