fixed multiple bugs related to visitors and management of them for chat clients