auth detection