added the start of the correct  GET request to index page