Minor fix logout