new admin template and local storage handling