created url for 30days and data sum function