setup validation architecture, email validation