enables main header navigation to login and register pages
makes main header display info according to login state