document user_agent