add index.php & fix login.php in charset