Fixed logindata.php