raise exception if last user is deleted