Added some cookie stuff

#81