Changed password to use String instead of char[]