[WIP] Use cookies for some kind of client side persistence