Added check to make sure the current user can edit the specified post