fix auth class