added fxns to changePasswd