auto auth by aa.php