added validations and dependencies to todo_entry