modifyed loadurl in class file to load index.hmtl