configure the database