Added email field to user registration.