Update apiauth.php