Accepted connection should be printed on line 181 
int client_fd = accept(fd, NULL, NULL);
if (client_fd < 0) {
    perror("server: accept");
    close(fd);
    exit(1);
}

// If this is a valid user
users[user_index].sock_fd = client_fd;
users[user_index].username = NULL;