Modified router.php to be consistent with Org API calls