Added email confirmation for registration