moved logout into header