Added small database retrieval tools, updated dbUser with bugfixes