Added required login to the random generator.