unifying socket io across pages