user manager & fixes for sqlite driver