[db] setup database, migration, and create table user