Update LoginCheck.php