Add logout packet
Fix logout packet