rebuild auth