DateTime checking added, Changed the url template