add socket io client part