Update trigger_login.php to prevent SQL injection