The functions print the user information. Normal version just prints user@host, the json-version prints the whole array.
Divided functionality into classes, fixed comments + various other cleanup. BackenAuth no longer increments sequence on sending password. SQLite busy timeout shortened to 1 second.