Fix user creation in DB