added some new code in create-db that establishes the connection and an if and else statement that tells us if the program worked or failed.
in the index we created a require_once that imported information from create-db