Port to cookies + keygrip
Modify documentation