Add user agent API