    // go thru the LL basically and check that no user with name already exists
    while(curr != NULL){
        if (strcmp(curr->name, name) == 0){
            return 1;
        }
        curr = curr->next;
    }
make this check every node in the linked list