Updated logout