using url tags in templates instead of hardcoding urls