updated rest api to generate random no of albums for testing