augment functional test to check that user can input a to-do item
refactor index view to use a template