added API to change password.