Implemented get node by id functionality