Add changes to server.py to render templates.html