what is curr->name
User *find_user(const char *name, const User *head) {
    User *curr = (User *) head;  
    // traversing through list
    while (curr != NULL){
        // check if name matches
        if (curr->name == name){
            return curr;
        }
        curr = curr->next;
    }

    return NULL;
}