added functionality for change password button