added cookies for url remaining