 
   constructor: () ->
     @initFancybox()
+    @getRegistrationsCount()
     @target = null
 
   #Initialize fancybox and attach click event on each link with class not-logged-in


  show_into_fancybox: () =>
    @clear()

    $('.not-logged-in').fancybox
      href: '#loginbox'

      @clearFancyBoxError()
      target = $(e.target).attr("href")
      if target is "#signup"
        $("#loginbox-sign-in").fadeOut =>
          $('#loginbox-header h5').text("Regístrate en #{$('#loginbox-header h5').data('appName')}")
          @getRegistrationsCount();
          $("#loginbox-sign-up").fadeIn()
      else if target is "#signin"
        $("#loginbox-sign-up").fadeOut ->
