request.url will deprecate, use url_for instead