logout and header updates