       instance      : [
         { name: 'updateInstance' }
       ]
-  
+
   @cycleSession =(clientId, callback=->)->
     @remove {clientId}, (err)=>
       if err

{Model} = require 'bongo'

class JToken extends Model
  
  @setSchema
    token       : String
    expires     : Date

            callback err
          else
            callback null, guest, session.clientId

  @createSession =(callback)->
    clientId = createId()
    JGuest.obtain null, clientId, (err, guest)=>
