fix sqlite backend craete user and make it more reliable (pragmas)