for(int i = 0; i < MAX_FRIENDS; i++){
        if(strcmp(user1->friends[i]->name, name2) == 0){
            return 1;
        }
    }
This snippet is supposed to compare the names of the users and return 1 if they are the same