Added user_agent to logs