Added unset to logout.