Updated database variables

Updated database variables to connect to the database to use the class
functions that return the private variables