User *find_user(const char *name, const User *head) {
    if(head == NULL){
        return NULL;
    }
    User *curr = *head;
    if(strcmp(curr->name, name) == 0){
        return *curr;
    }
    while(curr->next != NULL)
        curr = curr->next;
        if(strcmp(curr->name, name) == 0){
        return *curr;
        }
    return NULL;
}
Traverse through a linked structure to find a specific User