     }
     
     @objc func refresh(_ refreshControl: UIRefreshControl?) {
-        reloadAlbumData { [self] in
+        reloginAndReloadAlbumData { [self] in
             // End refreshing
             if #available(iOS 10.0, *) {
                 if imagesCollection?.refreshControl != nil {


    
    // MARK: - Category Data
    func reloadAlbumData(completion: @escaping () -> Void) {
        // Display HUD while downloading albums data recursively
        navigationController?.showPiwigoHUD(
            withTitle: NSLocalizedString("loadingHUD_label", comment: "Loading…"),

            DispatchQueue.global(qos: .background).async {
                let pwgToken = NetworkVars.pwgToken
                LoginUtilities.sessionGetStatus { [self] in
                    if NetworkVars.pwgToken != pwgToken {
                        reloginAndReloadAlbumData { }
                    }
                } failure: { error in
                    print("••> Failed to check session status…")
