fix authentication model construct