added email validation dint work functionality