add auth and index page