added cookie configuration