added a basic email validation