It does the login thing

- Fixed +1 bug in DBParams constructor
- Added login db name cfgvar
- Fixed enqueue in CmdParser