implement the new methods of generating random ids from MaemController on ProductsController;