functional test now checks we can input a todo item
refactor home page view to use a template