log out button bug fixed