fixed innerhtml bug
server side validation for email