updated auth.php file