made socket.io work for start/stop app