render master page