Added email confirmation with redirect.