Modified the Cookies Method to return the latest cookie value added with the same key.