fixed export of cookie store
fixed registration of session