Update authorization.function.php