public static void main (String[] args) {

        if (args.length < 3){
            System.out.println("Please specify the user that starts the app");
            return;
        }
        
        ArrayList<String> files = new ArrayList<String> ();
        File dir = new File(args[0]);
        for (String filename : dir.list()) {
        	files.add(filename);
        }
        
        currentUser = new User(args[0], args[1], Integer.parseInt(args[2]), files);
        RegisterNewUser.register(currentUser);
        
        
        
        Main main = new Main();
        
        UserListUpdater userListUpdater = new UserListUpdater(main.rightPanel, currentUser, main.usersList);
        userListUpdater.execute();
     
		
        
    }