add rank to products, add default scope to product model