Use url_for in the templates