logout issue fix