Added templating to admin part of the site