fix typo/error in User
and fix issue with missing slash in db.yaml absolute path