renaming and connect two htmls