fixed logout button not hiding