testing one method at a time,first -> right
fix multiple messages send by socket.io