Update authentication.php