Added logincheck.php script