Update show post page to show edit link if allowed to edit or update post