manage ui and create database