Add chat function (not tested) / Login chat (OK)