         for contact in contacts
             entries.cozyContactsByFn[contact.fn] = contact
             account = contact.getAccount ACCOUNT_TYPE, entries.accountName
-            if account?
-                entries.ofAccountByIds[account.id] = contact
+            entries.ofAccountByIds[account.id] = contact if account?
+
+        log.info 'Cozy contacts contacts loaded.'
         next()
 
 
 # Create or retrieve a specific to Linkedin, then
-#
 # make a request for each contact retrieved in the previous request
 # (retrieveListContact) with all data needed.
 #
 # In order to reduce the waiting betwen each request an async queue
 # is create. It process the 10 first contacts. (see Async lib)
-retrieveContacts = (requiredFields, entries, data, next) ->
+saveContacts = (requiredFields, entries, data, next) ->
 
     processRetrievingContactData = (contactId, done) ->
         contacts = """https://www.linkedin.com/contacts/api/contacts/\

                saveContact finalContact, entries


getPhoneNumber = (data) ->
    listPhones = []


            $ = cheerio.load body
            entries.csrfToken = $('#loginCsrfParam-login').val()
            entries.accountName = requiredFields.login
            log.info 'CSRF Token retrieved successfully'
            next()


# Make the login request with the user inputs (login/password) and the CSRF
# token retrieved in the previous step.
logIn = (requiredFields, entries, data, next) ->
    opts =
        url: 'https://www.linkedin.com/uas/login-submit'
        jar: true
