fixed loggout