Checking setup

Connecting to the database and verifying administrator state.