fixed authentication.php