Fix logindb_usercheck not using new structure