posts controller update

Post controller update for new and show