added email regex validation