rewrite database migrating script
dialog & message
care a little about performance (fetching user groups)