Changed passpharses from Char[] to String