make user_id optional

don't propagate user_id and project_id if they're not set