base template with header etc