Add Index method to main controller. Change validates to validate in product model.