Ui database and todo