allowing to define default values via the GET or POST in add and register