                         console.log "[initializeKeys] err: #{err}"
                         send 500
                     else
-                        send 200
+                        send success: true
 
 
 #PUT /accounts/password/

                app.crypto.masterKey =
                    cryptoTools.genHashWithSalt body.password, user.salt
                app.crypto.slaveKey = user.slaveKey
                send 200
                if app.crypto.masterKey.length isnt 32
                    console.log "[initializeKeys] err: password to initialize
                        keys is different than user password"

#POST /accounts/password/
action 'initializeKeys', =>
    user.getUser (err, user) ->

        if err
            console.log "[initializeKeys] err: #{err}"
            send 500
