Updated logout call