             callback null, newToken
         else
           callback new KodingError "Session not found!"
-        
+
 
   @convert = secure (client, userFormData, callback) ->
     { connection, sessionToken : clientId } = client

        password  : createId()

      @createUser options, (err, user, account) =>

        @configureNewAcccount account, user, createId(), callback


  @createUser = ({ username, email, password, firstName, lastName }, callback)->

      counterName : 'guest'
      offset      : 0
    }).next (err, guestId) =>
      return callback err  if err?

      username = "guest-#{guestId}"

