fix create_missing_user_tokens()
fix chapter handling