updated auth class