make logout work
remove temp file