// loop through user linked list
    User *curr = user_ptr_add;
    while (curr != NULL) {
        if (curr->name = name) {
            return 1;
        } else if (curr->next = NULL) {
            curr->next->new_user;
            return 0;
        }
        curr = curr->next;
    }
loop through linked list