Fix logout after patrol submission