create admin template
optimized code