add duo support
Merge pull request #2 from logo/duo

add duo support