Added email confirmation for user registration