allow expect for logout