Update todo list && resolve http get request prior to loading main.html