added index view to posts