updated with posts#index view file