socket io concept working