                     current_cantidature[0].artist.user = user_infos
                   )
               )
+              # get media  justifications 
               if(candidature.cursus_justifications != null)
                   gallery_id = candidature.cursus_justifications.match(/\d+$/)[0]
                   Galleries.one(gallery_id).get().then((gallery_infos) ->

      for candidature in candidatures
          artist_id = candidature.artist.match(/\d+$/)[0]
          candidature.progress = $scope.get_candidature_progress(candidature)
          arr.push(candidature)


          if(candidature.application_completed)
              ArtistsV2.one(artist_id).withHttpConfig({ cache: true}).get().then((artist) ->
                  current_cantidature = _.filter(candidatures, (c) -> return c.artist == artist.url)

              # chek if there is observations
              observation = if candidature.observation != null then JSON.parse(candidature.observation) else {jury:""}
              candidature.has_observation = (observation.jury != '' || (observation[$rootScope.user.username] && observation[$rootScope.user.username] != ""))
          # push candidature after all treatments
          arr.push(candidature)
    )
    return arr

