Task 240: restructured password change code to provide success message.