set up db connection.
users are persisted with encrypted passwords.