Added changes to nodeconfig to correctly register nodes to hub