add code for cookies
Merge pull request #8 from RobertPieta/master

add commit code