implements the editing_auth callback