             callback false, new Error("master key and slave key don't exist")
     else
         callback false
+
+toString = ->
+    "[Account for model: #{@id}]"
 
 
 # POST /accounts/password/

            if pwdExist
                db.save @body, (err, res) ->
                    if err
                        railway.logger.write "[Create] err: #{err}"
                        send 500
                    else
                        send _id: res._id, 201
            else

        else
            send 404
, only: ['findAccount', 'updateAccount', 'mergeAccount', 'deleteAccount']


# helpers
encryptPassword = (callback)->
