Added private var for passwordType