added changepasswordtype