anchor.diff:                      }
                   });
   
  -
  -
  +                loadCsRf();
                   registerInterest();
   
               });
  +
   
               function loadCsRf() {
                   var token = $("meta[name='_csrf']").attr("content");
                   var header = $("meta[name='_csrf_header']").attr("content");
  +                console.log('_csrf:_csrf_header' + token + ':' + header);
                   $(document).ajaxSend(function(e, xhr, options) {
                       xhr.setRequestHeader(header, token);
                   });
               }
   
   
  -
               function registerInterest() {
  -                loadCsRf();
                   if (isLoggedIn) {
                       if (isFollowing) {
                           setBtnFollowing("following");
                       } else {
                           setBtnFollowing("notFollowing");
                       }
  -                } else {
  -                    // $('#btn-follow')
  -                    setBtnFollowing("notLoggedIn");
                   }
   
  -                return true;
  +                return false;
               }
   
               function setBtnFollowing(desired) {
  -                var newHref;
  +                var newUrl;
                   var newAddClass;
                   var newTitle;
                   var newText;
  -                var newType;
                   var newDesired;
   
                   switch(desired) {
                       case "following":
  -                        newHref = "${paBaseUrl}/unregistration/gene/${acc}";
  -                        // newHref = "#";
  +                        newUrl = "${paBaseUrl}/unregistration/gene/${acc}";
                           newAddClass = "btn-outline-secondary";
                           newTitle = "You are following ${gene.markerSymbol}. Click to stop following.";
                           newText = "Stop following";
  -                        newType = "POST";
                           newDesired = "notFollowing";
                           break;
   
                       case "notFollowing":
  -                        newHref = "${paBaseUrl}/registration/gene/${acc}";
  -                        // newHref = "#";
  +                        newUrl = "${paBaseUrl}/registration/gene/${acc}";
                           newAddClass = "btn-primary";
                           newTitle = "Click to follow ${gene.markerSymbol}";
                           newText = "Follow";
  -                        newType = "POST";
                           newDesired = "following";
                           break;
  -
  -                    case "notLoggedIn":
  -                        <%--newHref = "${paBaseUrl}/genesAuth/${acc}";--%>
  -                        <%--newAddClass = "btn-primary";--%>
  -                        <%--newTitle = "Log in to My genes";--%>
  -                        <%--newText = "Log in to follow";--%>
  -                        <%--newType = "GET";--%>
  -                        <%--// newDesired = "";--%>
  -                        break;
                   }
   
                   $('#btn-follow')
  -                    .attr('href', newHref)
  +                    .attr('href', '#')
                       .attr('title', newTitle)
                       .removeClass('btn-primary')
                       .removeClass('btn-outline-secondary')
  
positive.code:                     .text(newText)
                      .click(function() {
                              $.ajax({
                                  type: "POST", //newType,
                                  url: newHref,
                                  success: function() {
                                      // alert("Success!");
                                      registerInterest()
                                      // setBtnFollowing(newDesired);
                                  },
                                  error: riError
                              });
  
negative.code:                     <h2 style="float: left">Gene: ${gene.markerSymbol}</h2>
                      <h2>
                          <a
                                  href="${paBaseUrl}/genesAuth/${acc}"
                                  class="btn btn-primary"
                                  id="btn-follow"
                                  style="float: right"
                                  title="Log in to My genes"
                          >
                              Log in to follow
                          </a>
                          <a href="${cmsBaseUrl}/help/gene-page/" target="_blank">
                              <i class="fa fa-question-circle" style="float: right; color: #212529; padding-right: 10px;"></i></a>
                      </h2>
  