Thien: add DB support and insert a default user