Setting up the root URL to redirect to index.html and the other URLs to REST