updated menu.php and node.php to account for new api