   class Base
 
     constructor: (args={})->
-      @authenticateUser()
+      if LocalStore.get('lp-new-sign-in')
+        @authenticateUser()
+      else
+        @oldAuthenticateUser()
+
       @showUserBasket()
       # Note: We need to add this back in when the switch to the new DFP server happens
       # @initAds() unless args.secure

      $.ajax
        url: @auth.getNewStatusUrl()
        dataType: "json"
        error: =>
          # Fallback to the old method for the moment.
          AssetFetch.get "https://secure.lonelyplanet.com/sign-in/status", () =>
            @auth.update()
        success: (user) =>
          # The data returned is defined in community at: app/controllers/users_controller.rb@status
          window.lp.user = user

          window.referer = "null";

          @auth.update()

    oldAuthenticateUser: (auth) ->
      @auth = auth || new Authenticator()
      AssetFetch.get "https://secure.lonelyplanet.com/sign-in/status", () =>
        @auth.update()

    initAds: ->
      AdManager.init(@adConfig(), 'ad-leaderboard') # Remove the second param when dropping the old ad manager
