Never mind.

I got it to work. I had some code further down that checked if the usernames were the same again but it didn't use strtolower. Oops.