added guard, new index page