using cookies to keep chat session open