Implement logout in BOTH server (cookie connection)