Redirect user if logging out from recommended (bug 1110326)

Would it need to get loaded in main.js then? It's not clear to me how the callbacks get registered. I suppose I only need this registered on the `/recommended` page.