added the add todo method