added register page to save name and email address