             if @users[u].email == email
                 return @users[u]
     
-    getUserDirectMessageChannel: (userID) ->
+    getUserDirectMessageChannel: (userID, callback) ->
         # check if channel already exists
         channel = @self.id + "__" + userID
         channel = @findChannelByName(channel)

                # channel obviously doesn't exist, let's create it
                channel = @createDirectChannel(userID)
                if !channel
                    return null
        return channel

    getAllChannels: ->
        @channels

            user_id: userID
        @_apiCall 'POST', @channelRoute('/create_direct'), postData, (data, headers) =>
            @logger.debug 'Created Direct Channel.'
            return data

    findChannelByName: (name) ->
        for c of @channel_details
