fix a signup error
add email and resend email feature