add admin template and back index controller