template for the frontend