Getting logout to work properly

Signed-off-by: Alan Gardner <alan@armoin.com>