Added resend confirmation email feature, fixes #381