add logic for adding todo and removing them