module.exports = socket => {
console.log("New connection !");
socket.on("login", require("./login")(socket));
socket.on("register", require("./register")(socket));
socket.emit("connected");
}