More assertions in session
Db lib got depency injection