added email validation
added email validation