Ajax on follow/unfollow actions and updating the security token.