added csv export button for all items in the database, must refresh page first for the csv to download