initialize user_agent