Post controller logic in place to only allow the author to edit a post