This sounds like something that would be easier to do with something other than arrays...as mentioned above, you could use a map.

You could do a struct of users. Each user would have a balance and a pin. When the pin is entered, you could search an array of the structs for the pin and then access the account like that.