intialisation => adding a field named cookie_reg, bdd => adding cookie reg in argument of function register