add handleAuthCallbackError for every modules