working on todoitem controller