added form validations to admin pages