change string passwords to char[] password type