added route to index page for spaces