Implemented and modified save(), newProducts() and details() methods
Added constraints to saving new data
Added flash messages