validate email and homepage