Registration form validation and Email check