     new App.Navigation( el: @el.find('#navigation') );
 
     # check if session already exists/try to get session data from server
-    auth = new App.Auth
-    auth.loginCheck()
+    App.Auth.loginCheck()
 
     # start notify controller
     new App.Notify( el: @el.find('#notify') );

console.log '1112222', Config2.get( 'a')
###

class App.Ajax
  defaults:
    contentType: 'application/json'
    dataType: 'json'

    cache: false
    async: true

  queue_list: {}
  pending: false

  constructor: (@args) ->

  ajax: (params, defaults) ->
    if params['id']
      if @queue_list[ params['id'] ]
        @queue_list[ params['id'] ].abort()
      @queue_list[ params['id'] ] = $.ajax($.extend({}, @defaults, defaults, params))
    else
      $.ajax($.extend({}, @defaults, defaults, params))

    console.log('AJAX', params['url'] )

class App.Auth

  @login: (params) ->
    console.log 'login(...)', params
    App.Com.ajax(
      id:     'login',
#      params,
      type:   'POST',
      url:     '/signin',
