logout now works