gave the server an index page for the api