setting up front-end templates