Added password type state