added the form for inventory, as well as the method to handle the form POST