added register page, added simple form validation for emails