logout display problem to all pages bug fixed