added cookie encrypt and cookie store