         setSSHKeys              : (signature [Object], Function)
         getSSHKeys              : (signature Function)
         authenticateWithOauth   : (signature Object, Function)
-        unregister              : (signature Boolean, Function)
+        unregister              : (signature String, Function)
         finishRegistration      : (signature Object, Function)
 
     schema          :


  @login = secure (client, credentials, callback)->
    {username, password} = credentials
    {sessionToken: clientId, connection} = client 

    constructor = this
    JSession.one {clientId}, (err, session)->

          queue.next()
      =>
        JPasswordRecovery = require '../passwordrecovery'

        passwordOptions =
          email         : user.email
          verb          : unless username? then 'Register2'

        JPasswordRecovery.create client, passwordOptions, (err)->
          queue.next()
      ->
