validate user_id in notebook