logout prompt, header problem fix