user guide: database and model