     if hostBrowser
       @startSessionAndInviteUser browser, host, participant
     else
-      @joinSession browser, host, participant, join
+      @joinSession browser, host, participant
 
 
   rejectInvitation: (browser) ->

        if result.status is 0
          return browser.end()

        if join
          browser
            .pause                     5000 # sidebar redraw
            .waitForElementVisible     shareModal, 500000 # wait for vm turn on for host
            .waitForElementVisible     fullName, 50000
            .assert.containsText       shareModal, firstUserName
            .waitForElementVisible     acceptButton, 50000
            .waitForElementVisible     rejectButton, 50000
            .click                     acceptButton
            .waitForElementNotPresent  shareModal, 50000
            .pause                     3000 # wait for sidebar redraw
            .waitForElementVisible     selectedMachine, 50000
            .waitForElementNotPresent  sessionLoading, 50000
            .assert.containsText       filetree, firstUserName
            .waitForElementVisible     shareButtonSelector, 50000
            .assert.containsText       shareButtonSelector, 'LEAVE SESSION' # Assertion
        else
          @rejectInvitation(browser)


  waitParticipantLeaveAndEndSession: (browser) ->

      # assert that no shared vm on sidebar


  initiateCollaborationSession: (browser) ->

    host        = utils.getUser no, 0
    participant = utils.getUser no, 1
