add custom layout and content_for from ep7 and 8