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

                                console.log "[updateKeys] err: #{err}"
                                send 500
                            else
                                send 200
                else
                    console.log "[updateKeys] err: masterKey and slaveKey don't\
                        exist"

                        console.log "[Upsert] err: #{err}"
                        send 500
                    else if doc
                        send success: true
                    else
                        send {"_id": res.id}, 201
        else
