socket io communicating back and forth