corrected db pool version; login handling