       fetch '/logout', myInit
       .then (response) ->
         if response.ok
+          window.isAuthenticated = false
           update_footer ownerName, false
         else
           console.log 'logout failed: ', response

            response.json().then (json) ->
              ownerName = json.ownerName
              window.isClaimed = true
              update_footer ownerName, true
          else
            console.log 'login failed: ', response

          .then (response) ->
            console.log 'reclaim response', response
            if response.ok
              window.isAuthenticated = true
              update_footer ownerName, true
            else
              console.log 'reclaim failed: ', response
