added code to process password change