Fixed logout.