adding the navbar to the layout,ctp