added generating random users if variable is set