fixed issue with visible nav menu upon logout