removed unnecessary logs
Changed socket to emit to all clients instead of just one