use html5 type="email" for input validation