Fix nasty bug in addnewuser.js where transaction was not ended if user already existed.