Why does this not write even when there is a user->name that is equal name?
while (curr->next != NULL) {
    if (strcmp(curr->name, name) == 0) {
        write(client_fd, "Welcome Back\n", 13);
        break;
    }
    curr = curr->next;
}