Extract Controller base class from LoginController.
Throw exception if db_creds.txt can't be found.
Only load database credentials/driver once.