updated login_helper to handle logout redirect to ted.com