Added a POST handler in index.html