     watcher.on "add", upload
     watcher.close()
 
-authenicateUser = (user, pass, remote, callback)->
+authenicateUser = (callback, conf = config)->
     ##Authenticating to make sure wherever you're writing to exists
-    authenticate user, pass, remote, (response)->
+    authenticate conf.user, conf.pass, conf.remote, (response)->
         if !response.token
             console.error color(response.message, "red+bold")
             die()
         else
-            callback(response.token)
-
-# authenicateUser watch
+            callback(response.token, conf)
 
 
 exports.help = "Watch dir for changes and upload to sim"

    #Assume current author by default
    remote = "#{userName}/#{remote}"  if remote.indexOf('/') is -1

    console.log ""

    authenicateUser userName, pass, remote, (token)->
        watch(local, remote, token)

                authenicateUser (newtoken)->
                    token = newtoken
                    upload localPath, stats

            else if response.message
                console.error color(response.status_code + ":", "red"), response.message
            else
