finish some part for access the data from api and modify the index.html to redirect to another web page