implements logout and logout confirmation in Lightsquare