refactored pw change component to use base form