reformat + auth