fixed logout