add logout for old users