make the index page singletone class