Modified generateUserId to return 16 digit hex. integer