user_id to integer on save in statements