change mysql class & add log user_agent
merger