implmented chat box