update checklogin.php