public void setUsersOnTask() {
        for (int i = 0; i < tasks.size(); i++) {
            for (int j = 0; j < tsotList.size(); j++) {
                if (tasks.get(i).getTaskID() == tsotList.get(j).getTaskID()) {
                    // Run through userList to find the userObject
                    for (int k = 0; k < userList.size(); k++) {
                        if (userList.get(k).getUserID() == tsotList.get(j).getUserID()) {
                            // Add user to the userlist on task
                            tasks.get(i).addToUserOnTask(userList.get(k));
                        }
                    }
                }
            }
        }
    }