try {
SessionManager.saveSession(userId, new UploadManager(users, "0", false));
uploadManager = SessionManager.getUploadManager(userId);
if(ServerConfiguration.debug)
JOptionPane.showMessageDialog(null, "Ora dovrebbe salvare il nuovo ID in IDS");
String newID = uploadManager.prepareUpload();
String ACL = uploadManager.getACL();
if(ServerConfiguration.debug)
JOptionPane.showMessageDialog(null, "ACL: " + ACL);