auth adjusted with class