implemented chat box