setup the template for admin