fixed form signin
added date validation
fixed date validation problem