finished connector and index.html