updates to fix the reset password email problem