add localstored feature
Merge pull request #139 from arnaudbey/cookies

add localstored feature