Added full chat functionality