perform layout and admin templates