added pin verification during the pin change process