         for user in jAccounts
           user.status = userList[user.profile.nickname]
           @createUserView user
+
+        @emit "UserListCreated"
 
   createUserView: (user) ->
     userView      = new KDView

        @reset()

  sendInvite: (account) ->
    to           = account.profile.nickname
    nickname     = KD.nick()
    {profile}    = KD.whoami()


    KD.remote.api.JPrivateMessage.create { to, subject, body }, noop

    @workspaceRef.child("users").child(to).set "invited"
    @emit "UserInvited", to

  returnToInviteView: ->
    for key in ["onlineUsers", "offlineUsers", "invitedUsers"]
