nav bar is added to header. all templates will extend header template. login view of the security extension is overriden.