Update authorize.php