Update check-app-registration.php