socket.io working for users (minus an error in edit users)