separated login from index; now on userMain.php