added cookie handling class and added it to the container