       user = users[0]
       user.username = msg.match[1].trim()
       msg.send "Selvä #{nick}, sinulle luodaan repository..."
-      tsohahub.createRepository user.username, (repository) ->
-        msg.send "#{nick}: #{repository.html_url}"
+      tsohahub.addNewStudent user.username, (repository) ->
+        msg.send "#{nick}: git clone #{repository.ssh_url} tsoha"
+        msg.send "#{nick}: luo vielä viikolle 1 haara komennolla: luo viikolle 1 haara"
 
   robot.respond /Mikä(.+)repo(.*)\?/i, (msg) ->
     nick = msg.message.user.name

        if pullRequest?
          msg.send "tsohaohjaajat: #{pullRequest.html_url}"
        else
          msg.send "#{nick}: Sinulla ei ole avointa pull requestia"

    if users.length is 1
      user = users[0]
      tsohahub.createWeek user.username, msg.match[1].trim(), (pullRequest) ->
        msg.send "#{nick}: Haara luotu, joten: git fetch && git checkout #{pullRequest.head.ref}"

  robot.respond /kommentoi/i, (msg) ->
    nick = msg.message.user.name
