Changes in appnima methods: now send user_agent