Fix logout method call