refactored todo page to use modelform>html forms