add create ref button and index view