trying to get logout to work - failed