The code is not outputting Welcome.\r\n even though its a new user

                // New user
            if (found == 0){
                // Welcome the client
                char *message = "Welcome.\r\n";
                write(new_user->fd, message, strlen(message));

                // Note down the name 
                strncpy(new_user->name, buf, strlen(new_user->name));
                new_user->name[31] = '\0';
            }
        }
