added passwordType