logout works amongs pages