Fixed "missing root_url" error on logout