adjusted index.php & login
index