           ]
         ]
         default     : 'unconfirmed'
-      passwordStatus :
-        type         : String
-        enum         : [
+      passwordStatus:
+        type        : String
+        enum        : [
           'invalid password status type', [
             'needs reset', 'needs set', 'valid', 'autogenerated'
           ]
         ]
-        default      : 'valid'
+        default     : 'valid'
       registeredAt  :
         type        : Date
         default     : -> new Date
+      registeredFrom:
+        ip          : String
+        country     : String
+        region      : String
       lastLoginDate :
         type        : Date
         default     : -> new Date

          return callback err  if err
          user = user_
          queue.next()
      =>
        @persistOauthInfo oldUsername, client.sessionToken, (err)=>
          return callback err  if err


    if password isnt passwordConfirm
      return callback createKodingError "Passwords must match!"

    if locationData?
      try { ip, country, region } = JSON.parse locationData

    newToken       = null
    invite         = null
