improved Auth class again