[IMP] improved datatabase creation for user