add the layout for the basic handlers.