change User.current to current_user in csv exporter