Hopefully fixed logout feature