set default values for from/to dates + use those values in the REST APi