getter and setter for isPassword