Two things... I think (?)
- declaring `adminUsernames` and then using `userNames` (but I assume that's not what you're talking about because that won't even compile)
- you're making an array with its length N instead of length 0 capacity N
(I totally agree with your point, I just like looking for bugs)