add post index and show methods