header&logout minor fixes