Updated validation, and added popularity to products.