Login setup

I’m using the tutorial on this site and im changing it to having multiple users.
I tryed using an array to store the names and passwords but that didnt seem to work. Can anyone help me to get this to work?

Any help is appreciated