html5 validation (date, username, passwd)