You need to insert a credit for the user since it cannot be null, so set the credit to 0 since this user is new. Also you need to insert the tangleOwner since it cannot be null.