added email field and code for registering them with WP