added user agent to db table.