Fixed user ID generation