added a check for node in the landing page callback