     user.fetchGroups (err, groups)=>
       if err or !groups then return callback false
       @remote.api.JGroup.one { slug: groupName }, (err, currentGroup)=>
-        if err then return @notifyError_ err.message
+        if err then return @notify_ err.message, "error"
         for group in groups
           if groupName is group.group.slug
             return callback true
         currentGroup.join (err)=>
           if err then return callback false
-          @notifyError_ "Joined to #{groupName} group!"
+          @notify_ "Joined to #{groupName} group!", "success"
           return callback true
 
   jsonhTest:->

      if err then new KDNotificationView title: err.message
      else location.reload()

  notifyError_:(message)->
    console.log message
    new KDNotificationView
      type     : 'mini'
      cssClass : 'error'
      title    : message
      duration : 3500


          mainController.once "accountChanged.to.loggedIn", =>
            if groupName and KD.isLoggedIn()
              @joinGroup_ groupName, (res)=>
                unless res then return @notify_ "Joining to #{groupName} group failed", "error"
                KD.lastFuncCall?()
                KD.lastFuncCall = null
        KD.lastFuncCall = callback
    else
      if groupName
        @joinGroup_ groupName, (res)=>
          if res

            callback?()
          else @notify_ "Joining to #{groupName} group failed", "error"
      else callback?()

  joinGroup_:(groupName, callback)->
