Preliminary work into implementation of cookies