saving addresses and impoving functions on products controller