Added validation to add new language