fixed logout on mobile