user guide : database and models