add cookies
Merge pull request #3 from jiangteng/master

add cookies