db cli
refactor db user
refactoring