This commit extracts html for setting new user email address visibility in the registration page to a separate file. This new file will then be used to allow imported users set email visibility during login without having to duplicate the code.