implementing the show post detail