Added Unique falg
Added custom validators for fields