load todo items via api and display them