Chat implementation

Implemented chat feature; linking still not complete