finished the first request by using cookies,but the index page failed