auth class.