product controller and index page