added order functionality to index.html