make logout work, basically