refactored header into layout which then yields to body of other views