post details view takes postId from outside and loads a post