Add logout functionality to basic-chat.html