set-up methods in products controller