change user ids to longs