Using sqlite, extra processing thread, 1/2 login function