Add validation to admin view