fix bug of header for logout