         
         if $(@element).hasClass('not-registered')
           $('#loginbox-header h5').text("Regístrate en #{$('#loginbox-header h5').data('appName')}")
+          self.getRegistrationsCount();
           $("#loginbox-sign-in").css("display","none")
           $("#loginbox-sign-up").css("display","block")
         else


  constructor: () ->
    @initFancybox()
    @target = null

  #Initialize fancybox and attach click event on each link with class not-logged-in

      @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 ->
