Configure the DAO credentials instead of passing in the credentials across the  stack. Added a call to the passwordDAO.createDatabase method.
Verify the connection before creating the database.