undo principal byusername/byemail