debugging auth