Moved login script into loginUser.php and modified index appropriately