add sent_cookie variable and .gitignore file

1、add sent_cookie to get cookie from response
2、add .gitignore to ignore some files