added HandleError() in auth_config.php