added retrieval of parent node in the home page