create the methods for the controller products