spliting logout