fixed port references for core node, added getUsername to corenode api