url_for(\'handle_logout\') and url_for(\'new\') are all fine This is all of the relevant code
url_for(\'handle_logout\')
url_for(\'new\')