validation is added to admin

validation is added to admin