keep lastuserid and remove old ones