logout/login clean up