disconnect from db when done. add list mode to user tool.