got global variables, links and navs available to views