Update PostsController.php

I finished writing the view function in PHP
It handles all of the exceptions in not finding certain blog posts because they aren't created, or they were deleted