fixed logout button issue