Store (and use) entries in database.