add product is now linked to database.

validation will be done later on.