fix password change error + redirect method