logout now working