adding the navigation composer to inject data into the nav partial
controllers pseudo code