adjust db config, user model and relation, etc