moved header into layout template