Migrated the adminhandler to the new sql system as well.