solved saving error in JS, still have to correct saving with user id
merge...: