updatePassword(credentials, id) {
        const encoded = this.$window.btoa(JSON.stringify(credentials));
        return this.http.put(`/${this.route}/password/${id}`, {credentials: encoded});
    }