update added email validation , email is unique