chat box completed, now works for group chatting.