use useragent gem to parse