set up chat index page