add code to slide admin panel & index page