added some email validation