base template now uses url_for