fixing redirect on password change