Re-implemented chat feature