             outcome = "IG"
         console.log uid, name, pid, runid, prob, date, "'"+outcome+"'"
         Submits.addSubmit(runid, date, uid, pid, outcome)
-        Users.addUser(uid, name, "lic40")
+        Users.addUser(uid, name, @userList)
         res
     
 #    if date > endDate:  # we do not need this, but continue search

            if not result
                break
            page = page + 1
        updateResults()
            
class LastSubmitDownloader extends AllSubmitDownloader
    needContinueFromSubmit: (runid) ->

                    continue
                Results.addResult(user._id, problem._id, Submits.problemResult(user._id, problem))
    

    # Лицей 40
lic40url = (page) ->
        'http://informatics.mccme.ru/moodle/ajax/ajax.php?problem_id=0&group_id=3696&user_id=0&lang_id=-1&status_id=-1&statement_id=0&objectName=submits&count=10&with_comment=&page=' + page + '&action=getHTMLTable'
    # Заоч
zaochUrl = (page) ->
    'http://informatics.mccme.ru/moodle/ajax/ajax.php?problem_id=0&group_id=3644&user_id=0&lang_id=-1&status_id=-1&statement_id=0&objectName=submits&count=10&with_comment=&page=' + page + '&action=getHTMLTable'

    
SyncedCron.add
    name: 'loadTable-1',
