made Auth a class