modified server.py to redirect to index.html