Fixed logout Error