added random users and fixed compilation errors