integrated preferences page into index.html