PGSQLLogin is a utility class that provides a modal dialog to select a connection and login and returns a PGSQLConnection back to the calling application. Intended to be a reusable class, it also implements keychain access to persist connection information in a secure fashion.