todo database added and add working