removed cookies code in index.js and another changes