add layout to render for todo