Chat tab functionality.